﻿<Window x:Class="CPPEI.Coolzon.Launcher.Mini.MiniWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MiniWindow" Height="249" Width="757"
         WindowStartupLocation="CenterScreen" WindowStyle="None"  Background="Transparent" ResizeMode="NoResize" AllowsTransparency="True" >
  

        <Canvas >
            
            <Canvas.Background>
                <ImageBrush ImageSource="/CPPEI.Coolzon.Launcher;component/Images/BG.png"  TileMode="FlipX"/>
            </Canvas.Background>
            <Grid Margin="-20,75,0,0">
                <Grid.RowDefinitions>
                    <RowDefinition Height="*"/>
                    <RowDefinition Height="auto"/>
                </Grid.RowDefinitions>

                <StackPanel  VerticalAlignment="Bottom"  HorizontalAlignment="Center" Margin="183,0,159,19" >
                    <TextBlock x:Name="_ctlLblMessageSub" FontSize="15" Foreground="White" Text="正在连接更新服务器..." Margin="5,0" FontWeight="Bold" FontFamily="Microsoft YaHei"/>
                    <StackPanel Orientation="Horizontal" >
                        <StackPanel x:Name="_ctlStackPanelBar" Width="405"   Height="39"  Margin="5,0">
                            <StackPanel.Background>
                                <ImageBrush ImageSource="/CPPEI.Coolzon.Launcher;component/Images/bgjd2.png"/>
                            </StackPanel.Background>
                            <StackPanel x:Name="_ctlSPBar" Width="405"  HorizontalAlignment="Right">
                                <StackPanel.Background>
                                    <ImageBrush x:Name="_ctlBarForImg" ImageSource="/CPPEI.Coolzon.Launcher;component/Images/bgjd.png" />
                                </StackPanel.Background>
                                <Canvas Width="16" Height="20" Margin="0,9,389,10">
                                    <Image  Source="/CPPEI.Coolzon.Launcher;component/Images/arrows.png" Width="16" Height="20"   Stretch="Fill" RenderTransformOrigin="0.64,0.078" Canvas.Left="-7" />
                                </Canvas>
                            </StackPanel>
                        </StackPanel>

                    </StackPanel>
                    <!--<Canvas x:Name="_ctlCanvas" Width="42" Height="33" HorizontalAlignment="Left" Margin="-20,0,0,0">

                <Image Source="/CPPEI.Coolzon.Launcher;component/Images/num.png" Stretch="UniformToFill"></Image>
                <TextBlock x:Name="_ctlTxtBck" Foreground="White" FontSize="15" Text="0%" Canvas.Left="0"  Margin="16,23,0,0" />
            </Canvas>-->
                </StackPanel >
                <StackPanel Grid.Row="1" x:Name="_ctlControlPanel" Visibility="Visible" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,0,30,30">
                    <Label x:Name="_ctltimeInfo" Width="350"  FontSize="15" Foreground="White"/>
                    <Button x:Name="_ctlBtnCancel" Visibility="Visible" Width="91" Height="43"  Margin="5" Click="_ctlBtnCancel_Click">
                        <Button.Background>
                            <ImageBrush ImageSource="/CPPEI.Coolzon.Launcher;component/Images/btnbg.png" Stretch="Fill"/>
                        </Button.Background>
                    </Button>
                    <Button x:Name="_ctlLauncherClose" Visibility="Collapsed" Width="91" Height="43"  Click="_ctlLauncherClose_Click"  Margin="5" >
                        <Button.Background>
                            <ImageBrush ImageSource="/CPPEI.Coolzon.Launcher;component/Images/2.png" Stretch="Fill"/>
                        </Button.Background>
                    </Button>

                </StackPanel>
            </Grid>
        </Canvas>

</Window>
